<template>
  <div class="pay-box">
     <header class="my-header">
      <comp-header>
        <template v-slot:ctitle><span class="fa fa-angle-left" @click="$router.go(-1)"></span>&nbsp;&nbsp;&nbsp;收款码</template>
        <template v-slot:cicon>
          <span class="fa fa-ellipsis-h"></span> 
        </template>
      </comp-header> 
     </header>
    <div class="pay">
      <div class="title"><span class="fa fa-cny"></span> 二维码收款</div>
      <div class="box"><p>扫码支付，秒到账</p></div>
      <div class="erweima">
          <img src="../assets/erweima.jpg" alt="">
      </div>
      <div class="bottom"><span class="fa fa-bookmark-o"></span> 收账笔记本<span class="fa fa-angle-right icon"></span></div>
    </div>
  </div>
</template>

<script>
import compHeader from "@/components/comp-header.vue";
export default {
  name: "Payma",
  components: {
    compHeader: compHeader,
  }
};
</script>

<style lang="scss" scoped>
.pay-box {
  width: 100%;
  height: 100vh;
  background-color: #3b2c86;
  .pay {
    width: 335px;
    height: 400px;
    margin: 60px auto;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    .title,.bottom{
      width: 100%;
      height: 50px;
      line-height: 50px;
      text-indent: 10px;
      color: #111030;
      font-size: 20px;
      background-color: #eeeeee;
    }
    .bottom{
      margin-top: 20px;
      position: relative;
      .icon{
        position: absolute;
        top: 15px;
        right: 30px;
      }
    }
    .box{
      width: 100%;
      margin: 0 auto;
      text-align: center;
      font-size: 14px;
      color: #999;
      height: 60px;
      line-height: 60px;
    }
    .erweima {
      width: 220px;
      height: 220px;
      margin: 0 auto;
      img{
          width: 100%;
      }
    }
  }
}
</style>